<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>管理端—姑苏区企业复工网上服务平台</title>
    <link rel="stylesheet" href="css/main.css">
    <link rel="stylesheet" href="css/element.css">
    <script src="css/jquery.min.js"></script>
    <script src="css/vue.js"></script>
    <script src="css/element.js"></script>
    <script src="js/constants.js"></script>
    <style>
        #header1{
            width:100%;
            height: 10%;
            /*background-color: #3F87C4;*/
            background-image: url("img/gsqglr.png");
            background-size: 100% 100%;
        }
    </style>
</head>
<body>
<div id="header1">
    <!--<div id="dp">
        <span id="ksh">二维码下载</span>
    </div>-->
    <div id="dp1" style="left: 70%">
        <span id="ksh1">操作手册下载</span>
    </div>
    <div id="uk">
        <img src="img/yh.png" style="width: 15%"/>
        <span id="yh">用户&nbsp;&nbsp;&nbsp;&nbsp;</span>
        <span id="user">苏州佳图智慧信息技术有限公司</span>
    </div>
    <a href="onlyLogin.html"><div id="exit">
        <img src="img/exit.png" style="width: 20%">
        <span id="tc">退出系统</span>
    </div></a>
    <!--<span id="title">&nbsp;&nbsp;&nbsp;&nbsp;苏信学院平安校园综合管理和服务平台</span>-->
    <!--<img src="../img/tou.png" style="width: 3%" id="tou"/><span id="user">admin</span>-->
</div>
<div id="mainbody">
    <div id="left">
        <div style="width: 100%;margin-top: 5%">
            <img id="dhImg" onclick="ss()" src="img/mulu.png" style="width: 11%;padding-left: 7%;margin-left: 10%;cursor: pointer"/>
            <span slot="title" id="toptitle">&nbsp;导航目录</span>
        </div>
        <div id="menu">
            <el-menu
                    default-active="QYManage.html"
                    class="el-menu-vertical-demo"
                    @select="handleSelect"
            >
                <el-menu-item index="FGSH.html" id="menu1">
                    <!--<i class="el-icon-menu"></i>-->
                    &nbsp;&nbsp;&nbsp;<img src="img/qysqxz.png" class="mlogo" id="1"/>
                    <span slot="title">&nbsp;&nbsp;&nbsp;企业复工服务审核</span>
                </el-menu-item>
                <el-menu-item index="statistics.html" id="menu4">
                    <!--<i class="el-icon-menu"></i>-->
                    &nbsp;&nbsp;&nbsp;<img src="img/xc.png" class="mlogo" id="4"/>
                    <span slot="title">&nbsp;&nbsp;&nbsp;统计分析</span>
                </el-menu-item>
                <el-menu-item index="AdminManage.html" id="menu2">
                    <!--<i class="el-icon-menu"></i>-->
                    &nbsp;&nbsp;&nbsp;<img src="img/yg.png" class="mlogo" id="2"/>
                    <span slot="title">&nbsp;&nbsp;&nbsp;审核人员管理</span>
                </el-menu-item>
                <el-menu-item index="CommunityManage.html" id="menu3">
                    <!--<i class="el-icon-menu"></i>-->
                    &nbsp;&nbsp;&nbsp;<img src="img/jk.png" class="mlogo" id="3"/>
                    <span slot="title">&nbsp;&nbsp;辖区管理</span>
                </el-menu-item>
                <el-menu-item index="BuildManage.html" id="menu6">
                    <!--<i class="el-icon-menu"></i>-->
                    &nbsp;&nbsp;&nbsp;<img src="img/ly.png" class="mlogo" id="6"/>
                    <span slot="title">&nbsp;&nbsp;&nbsp;楼宇、产业园管理</span>
                </el-menu-item>
                <el-menu-item index="EnterpriseManage.html" id="menu5">
                    <!--<i class="el-icon-menu"></i>-->
                    &nbsp;&nbsp;&nbsp;<img src="img/yunwei.png" class="mlogo" id="5"/>
                    <span slot="title">&nbsp;&nbsp;&nbsp;企业管理</span>
                </el-menu-item>
                <el-menu-item index="GLYGManage.html" id="menu7">
                    <!--<i class="el-icon-menu"></i>-->
                    &nbsp;&nbsp;&nbsp;<img src="img/yg.png" class="mlogo" id="7"/>
                    <span slot="title">&nbsp;&nbsp;&nbsp;员工管理</span>
                </el-menu-item>
                <el-menu-item index="ZCManage.html" id="menu8">
                    <!--<i class="el-icon-menu"></i>-->
                    &nbsp;&nbsp;&nbsp;<img src="img/zc.png" class="mlogo" id="8"/>
                    <span slot="title">&nbsp;&nbsp;&nbsp;政策法规维护</span>
                </el-menu-item>
<!--                <el-menu-item index="XCManage.html">-->
<!--                    &lt;!&ndash;<i class="el-icon-menu"></i>&ndash;&gt;-->
<!--                    &nbsp;&nbsp;&nbsp;<img src="" class="mlogo" id="4"/>-->
<!--                    <span slot="title">&nbsp;&nbsp;&nbsp;</span>-->
<!--                </el-menu-item>-->
<!--                <el-menu-item index="QYBA.html">-->
<!--                    &lt;!&ndash;<i class="el-icon-menu"></i>&ndash;&gt;-->
<!--                    &nbsp;&nbsp;&nbsp;<img src="" class="mlogo" id="5"/>-->
<!--                    <span slot="title">&nbsp;&nbsp;&nbsp;</span>-->
<!--                </el-menu-item>-->
            </el-menu>
        </div>

    </div>
    <iframe id="right" src="FGSH.html">
    </iframe>
</div>
<script>
    var name = localStorage.getItem('qymc');
    var pic = localStorage.getItem('pic');
    var svcHeader = Constants.path;
    var qyid = localStorage.getItem('qyid');
    if(name==""||name==null||name==undefined){
        window.location.href="onlyLogin.html";
    }else if (name.length> 5) {//循环判断cutelement中含有的字数
        name = name.substring(0, 5) + "...";//如果字数超过，则截取内容，拼接上“...”显示
    }
    $('#user').html(name);

    $("#dp").click(function (){
        $.ajax({
            url: svcHeader + "pb/orcode/sc/"+qyid,
            dataType: 'json',
            type: 'get',
            success: function (data) {
                console.log(data)
            },error:function (data) {
                console.log(data,'aaa')
                var pic=data.responseText;
                localStorage.setItem('pic',pic);
                window.open(svcHeader+'FUGONGP/'+pic);
            }
        })

    })
    $("#dp1").click(function (){
        window.open('./data/姑苏区企业复工网上服务平台管理端操作手册.pdf');
    })
    window.vueIns=new Vue({
        el: '#left',
        data:function() {
            return {
            };
        },
        methods: {
            handleSelect:function(key, keyPath,title) {
                if(key=="FGSH.html"){
                    document.getElementById('1').src="img/qysqxz.png"
                    document.getElementById('2').src="img/yg.png"
                    document.getElementById('3').src="img/jk.png"
                    // document.getElementById('4').src="img/xc.png"
                    document.getElementById('5').src="img/yunwei.png"
                    document.getElementById('6').src="img/ly.png"
                    document.getElementById('7').src="img/yg.png"
                    document.getElementById('8').src="img/zc.png"
                    // document.getElementById('6').src="img/shzl.png"
                    document.getElementById('right').src="FGSH.html"
                }else if(key=="AdminManage.html"){
                    document.getElementById('1').src="img/qysq.png"
                    document.getElementById('2').src="img/ygxz.png"
                    document.getElementById('3').src="img/jk.png"
                    // document.getElementById('4').src="img/xc.png"
                    document.getElementById('5').src="img/yunwei.png"
                    document.getElementById('6').src="img/ly.png"
                    document.getElementById('7').src="img/yg.png"
                    document.getElementById('8').src="img/zc.png"
                    // document.getElementById('6').src="img/shzl.png"
                    document.getElementById('right').src="AdminManage.html"
                    // document.getElementById("right").src="../Map/map.html";
                }else if(key=="CommunityManage.html"){
                    document.getElementById('1').src="img/qysq.png"
                    document.getElementById('2').src="img/yg.png"
                    document.getElementById('3').src="img/jkxz.png"
                    // document.getElementById('4').src="img/xc.png"
                    document.getElementById('5').src="img/yunwei.png"
                    document.getElementById('6').src="img/ly.png"
                    document.getElementById('7').src="img/yg.png"
                    document.getElementById('8').src="img/zc.png"
                    // document.getElementById('6').src="img/shzl.png"
                    document.getElementById('right').src="CommunityManage.html"
                    // document.getElementById("right").src="../Map/map.html";
                }else if(key=="XCManage.html"){
                    document.getElementById('1').src="img/qysq.png"
                    document.getElementById('2').src="img/yg.png"
                    document.getElementById('3').src="img/jk.png"
                    // document.getElementById('4').src="img/xc.png"
                    document.getElementById('5').src="img/yunwei.png"
                    document.getElementById('6').src="img/ly.png"
                    // document.getElementById('6').src="img/shzl.png"
                    document.getElementById('right').src="XCManage.html"
                    // document.getElementById("right").src="../Map/map.html";
                }else if(key=="QYBA.html"){
                    document.getElementById('1').src="img/qysq.png"
                    document.getElementById('2').src="img/yg.png"
                    document.getElementById('3').src="img/jk.png"
                    // document.getElementById('4').src="img/xc.png"
                    document.getElementById('5').src="img/yunwei.png"
                    document.getElementById('6').src="img/ly.png"
                    document.getElementById('7').src="img/yg.png"
                    document.getElementById('8').src="img/zc.png"
                    // document.getElementById('6').src="img/shzl.png"
                    document.getElementById('right').src="QYBA.html"
                    // document.getElementById("right").src="../Map/map.html";
                }
                else if(key=="statistics.html"){
                    document.getElementById('1').src="img/qysq.png"
                    document.getElementById('2').src="img/yg.png"
                    document.getElementById('3').src="img/jk.png"
                    // document.getElementById('4').src="img/xcxz.png"
                    document.getElementById('5').src="img/yunwei.png"
                    document.getElementById('6').src="img/ly.png"
                    document.getElementById('7').src="img/yg.png"
                    document.getElementById('8').src="img/zc.png"
                    // document.getElementById('6').src="img/shzl.png"
                    document.getElementById('right').src="statistics.html"
                    // document.getElementById("right").src="../Map/map.html";
                }
                else if(key=="EnterpriseManage.html"){
                    document.getElementById('1').src="img/qysq.png"
                    document.getElementById('2').src="img/yg.png"
                    document.getElementById('3').src="img/jk.png"
                    // document.getElementById('4').src="img/xc.png"
                    document.getElementById('5').src="img/yunweixz.png"
                    document.getElementById('6').src="img/ly.png"
                    document.getElementById('7').src="img/yg.png"
                    document.getElementById('8').src="img/zc.png"
                    // document.getElementById('6').src="img/shzl.png"
                    document.getElementById('right').src="EnterpriseManage.html"
                    // document.getElementById("right").src="../Map/map.html";
                }else if(key=="BuildManage.html"){
                    document.getElementById('1').src="img/qysq.png"
                    document.getElementById('2').src="img/yg.png"
                    document.getElementById('3').src="img/jk.png"
                    // document.getElementById('4').src="img/xc.png"
                    document.getElementById('5').src="img/yunwei.png"
                    document.getElementById('6').src="img/lyxz.png"
                    document.getElementById('7').src="img/yg.png"
                    document.getElementById('8').src="img/zc.png"
                    // document.getElementById('6').src="img/shzl.png"
                    document.getElementById('right').src="BuildManage.html"
                    // document.getElementById("right").src="../Map/map.html";
                }else if(key=="GLYGManage.html"){
                    document.getElementById('1').src="img/qysq.png"
                    document.getElementById('2').src="img/yg.png"
                    document.getElementById('3').src="img/jk.png"
                    // document.getElementById('4').src="img/xc.png"
                    document.getElementById('5').src="img/yunwei.png"
                    document.getElementById('6').src="img/ly.png"
                    document.getElementById('7').src="img/ygxz.png"
                    document.getElementById('8').src="img/zc.png"
                    // document.getElementById('6').src="img/shzl.png"
                    document.getElementById('right').src="GLYGManage.html"
                    // document.getElementById("right").src="../Map/map.html";
                }else if(key=="ZCManage.html"){
                    document.getElementById('1').src="img/qysq.png"
                    document.getElementById('2').src="img/yg.png"
                    document.getElementById('3').src="img/jk.png"
                    // document.getElementById('4').src="img/xc.png"
                    document.getElementById('5').src="img/yunwei.png"
                    document.getElementById('6').src="img/ly.png"
                    document.getElementById('7').src="img/yg.png"
                    document.getElementById('8').src="img/zcxz.png"
                    // document.getElementById('6').src="img/shzl.png"
                    document.getElementById('right').src="ZCManage.html"
                    // document.getElementById("right").src="../Map/map.html";
                }
                // else if(key=="BackPeopleManage.html"){
                //     document.getElementById('1').src="img/qysq.png"
                //     document.getElementById('2').src="img/yg.png"
                //     document.getElementById('3').src="img/jk.png"
                //     document.getElementById('4').src="img/xc.png"
                //     document.getElementById('5').src="img/yunwei.png"
                //     document.getElementById('6').src="img/shzlxz.png"
                //     document.getElementById('right').src="BackPeopleManage.html"
                //     // document.getElementById("right").src="../Map/map.html";
                // }
            },
        },
        mounted() {
            let user = JSON.parse(localStorage.getItem("user"));
            if (user.level == '4') {
                document.getElementById("menu4").style.display = "none";
                // document.getElementById("menu2").style.display = "none";
                document.getElementById("menu3").style.display = "none";
                document.getElementById("menu6").style.display = "none";
            }
        }
    });

</script>
</body>
</html>